package com.dandelion.api.request;

import javax.validation.constraints.NotEmpty;

public class ThirdCredentials {
    private ThirdLoginPlatform platform;
    @NotEmpty(message = "accessToken is required")
    private String jsCode;

    public ThirdLoginPlatform getPlatform() {
        return platform;
    }

    public void setPlatform(ThirdLoginPlatform platform) {
        this.platform = platform;
    }

    public String getJsCode() {
        return jsCode;
    }

    public void setJsCode(String jsCode) {
        this.jsCode = jsCode;
    }
}
